package com.sskj.spk.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/5/3.
 */

public class TransactionModel implements Serializable {


    /**
     * name : EOS/USDT
     * bids : [{"totalSize":"90.1274","price":"7.2726"},{"price":"7.2714","totalSize":"167.9623"},{"price":"7.2703","totalSize":"1517.5989"},{"totalSize":"259.5996","price":"7.2698"},{"totalSize":"18.4373","price":"7.2696"}]
     * code : EOS/USDT
     * timestamp : 1533128490
     * asks : [{"totalSize":"99.9766","price":"7.2802"},{"totalSize":"13.6686","price":"7.2805"},{"price":"7.2809","totalSize":"500"},{"totalSize":"183.2281","price":"7.2816"},{"totalSize":"140.153","price":"7.2819"}]
     */

    private String name;
    private String code;
    private List<BidsBean> bids;
    private List<AsksBean> asks;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public List<BidsBean> getBids() {
        return bids;
    }

    public void setBids(List<BidsBean> bids) {
        this.bids = bids;
    }

    public List<AsksBean> getAsks() {
        return asks;
    }

    public void setAsks(List<AsksBean> asks) {
        this.asks = asks;
    }

    public static class BidsBean implements Serializable {
        /**
         * totalSize : 90.1274
         * price : 7.2726
         */

        private String totalSize;
        private String price;

        public String getTotalSize() {
            return totalSize;
        }

        public void setTotalSize(String totalSize) {
            this.totalSize = totalSize;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }
    }

    public static class AsksBean implements Serializable {
        /**
         * totalSize : 99.9766
         * price : 7.2802
         */

        private String totalSize;
        private String price;

        public String getTotalSize() {
            return totalSize;
        }

        public void setTotalSize(String totalSize) {
            this.totalSize = totalSize;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }
    }
}
